import Vue from 'vue';
import SemanticsA from '@/yidiuyemain/SemanticsA';
import asdasd from '@/yidiuyemain/asdasd';
import jdjdj from "@/yidiuyemain/jdjdj";
import cccsss from "@/yidiuyemain/cccsss";
// 1.引入vue-router
import VueRouter from 'vue-router';

// 2.让vue使用VueRouter这个插件
Vue.use(VueRouter);
// 3.创建路由实例
const router = new VueRouter({
  routes: [
    {
      name: 'My',
      path: '/SemanticsA',
      component: SemanticsA,
    },
    {
      path: '/asdasd',
      component: asdasd,
    },
    {
      path: '/jdjdj',
      component: jdjdj,
    },
    {
      path: '/cccsss',
      component: cccsss,
    },
  ],
});

export default router;
